//
//  MainController.h
//  Quiz
//
//  Created by AnhLH-Oriolus on 25/07/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenuController;
@class PlayerController;
@class AddPlayerController;
@class PlayGameController;
@class ScoreViewController;
@class AboutViewContrller;

@interface MainController : UIViewController {
	MenuController *menuCtrl;
	PlayerController *playerCtrl;
	AddPlayerController *addPlayerCtrl;
	PlayGameController *playGame;
	ScoreViewController *scoreViewCtrl;
	AboutViewContrller *aboutViewCtrl;
}

@property(nonatomic, retain)MenuController *menuCtrl;


-(void)initMenuViewCtrl;
-(void)openPlayerController;
-(void)openMenuViewCtrl;
-(void)openAboutView;

-(void)addPlayerView;
-(void)returnPlayerCtrl;
-(void)goToScoreWithMode:(int)mode;
-(void)goToScoreWithMode:(int)mode ofPlayerName:(NSString *)playerName andScore:(int)score;
-(void)openPlayGameController:(NSString *)playerName;
@end
